package cn.wolfcode.wolf2w.search.service.impl;

import cn.wolfcode.wolf2w.search.domian.DestinationEs;
import cn.wolfcode.wolf2w.search.domian.StrategyEs;
import cn.wolfcode.wolf2w.search.repository.DestinationEsRepository;
import cn.wolfcode.wolf2w.search.repository.StrategyEsRepository;
import cn.wolfcode.wolf2w.search.service.IDestinationEsService;
import cn.wolfcode.wolf2w.search.service.IStrategyEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StrategyEsServiceImpl implements IStrategyEsService {
    @Autowired
    private StrategyEsRepository strategyEsRepository;

    @Override
    public void save(StrategyEs strategyEs) {

        strategyEsRepository.save(strategyEs);
    }
}
